package lib.bone.audit.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author kindear
 * @date 2022-07-02
 */
@Data
@ApiModel(value = "流程实例关联信息")
public class FlowWorkLinkVO {

    @ApiModelProperty("周期ID")
    String cycleId;
    /**
     * 周期名称 -- 流程所在周期
     */
    @ApiModelProperty("周期名称")
    String cycleName;

    @ApiModelProperty("流程实例ID")
    String flowWorkId;

    @ApiModelProperty("流程名称")
    String flowName;

    @ApiModelProperty("流程定义编码")
    String flowDefineCode;

    @ApiModelProperty("流程发起者ID")
    String initiator;

    /**
     * 流程实例是否可以被操作
     */
    @ApiModelProperty(value = "流程锁定态")
    Integer locked;

    @ApiModelProperty(value = "流程实例状态",name = "")
    String flowWorkStatus;


    @ApiModelProperty(value = "实例状态",notes = "1正常 0被挂起")
    Integer status;

    @ApiModelProperty("业务名称")
    String serviceName;

    @ApiModelProperty(value = "存在关联工作量",notes = "1为是 0 为否")
    Boolean hasWorkload;


    @ApiModelProperty("工作量")
    Double workload;

    @ApiModelProperty("已使用工作量")
    Double usedWorkload;

    @ApiModelProperty(value = "工作量锁等级",notes = "0 ~ 3")
    Integer workloadLock;



}
